<template>
  <view class="container">
    <view class="add common-bg-white" @tap="handleAdd" v-if="department.name == '人力部门'">
      +
    </view>
    <view class="common-bg-white" v-if="list.length > 0">
      <block v-for="item in list" :key="item.phone">
        <view class="item between-item-center-row">
          <view class="flex">账号: {{item.phone}} 密码: {{item.pwd}}</view>
          <view></view>
          <image class="arrow"
            src="https://talentsupload.oss-cn-beijing.aliyuncs.com/miniprogram/common/arrowRight.png" />
        </view>
      </block>
    </view>
    <!--企业主 只添加人力部门的账号-->
    <custom-emptyMsg v-else />
    
    <custom-CommonPickerPop ref="commonPickerPop" @onConfirm="onPickerConfirm" />
  </view>
</template>
<script src="./indexMod.js" />
<style src="./indexStyle.scss" lang="scss" scoped>
</style>